package com.gwclh.personnel.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

@ApiModel(value = "登录Vo",description = "接收前端登录的PoJo")
@Data
public class LoginVo {
    @ApiModelProperty(value = "用户名")
    @NotNull(message = "用户名不能为空")
    String username;

    @ApiModelProperty(value = "密码")
    @NotNull(message = "密码不能为空")
    String password;

    @ApiModelProperty(value = "验证码key")
    @NotNull(message = "验证码key不能为空")
    String key;

    @ApiModelProperty(value = "验证码")
    @NotNull(message = "验证码不能为空")
    String code;


}
